# Template file for 'gcc-latest'
pkgname=gcc-latest
version=15.0.0
revision=1
_git=20250112gitf4fa0b7d493a
_filename="${pkgname}_${version}-${_git}.deb"
archs="x86_64"
hostmakedepends="tar xz"
short_desc="GNU Compiler Snapshots"
maintainer="MarcoAPC <marcoaureliopc@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://jwakely.github.io/pkg-gcc-latest/"
distfiles="http://kayari.org/gcc-latest/${pkgname}_${version}-${_git}.deb"
checksum=79c6e61c3de8a04710cd1259a1cb7eeca5fb163bb097840a7eb8eb85a5e2bf6c
nostrip=yes

do_extract() {
	mkdir -p ${DESTDIR}
	ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_filename}
}

do_install() {
	tar xf data.tar.xz -C ${DESTDIR}
}
